import common from '../common'
export default {
    doSearch(query) {
        return common.axiosPost('/Auser/userList', query)
    },
    doManager(query) {
        return common.axiosPost('/Auser/actionAdmin', query)
    },
    resetPassword(query) {
        return common.axiosPost('/Auser/resetPwd', query)
    },
    getRightsList(query) {
        return common.axiosPost('/Auser/privList', query)
    },
    doRights(query) {
        return common.axiosPost('/Auser/actionPriv', query)
    },
    getAllRightList(query) {
        return common.axiosPost('/Auser/userPrivList', query)
    },
    disRights(query) {
        return common.axiosPost('/Auser/privAssign', query)
    }
}
